#ifndef __CUBE_INCLUDE
#define __CUBE_INCLUDE

#include "square.h"

/**
  Class which implements a Cube
 */
class Cube : public Square {
    public:
        /** Pass-through constructor that invokes Square(length) */
        Cube(int length) : Square(length) {};
        
        /** Overriden from Polygon.  Prints the area of the cube. */        
        void area();

        /** Overriden from Polygon.  No-op because a square is 2D. */        
        void perimeter();

        /** Overriden from Polygon.  Prints the volume of the square. */        
        void volume();
};

#endif